package cn.crc.pjblog.components;

import org.apache.tapestry5.Asset;
import org.apache.tapestry5.ComponentResources;
import org.apache.tapestry5.annotations.Component;
import org.apache.tapestry5.ioc.annotations.Inject;
import org.apache.tapestry5.annotations.Path;

public class Border {
	
	@Inject
	@Path("context:/skins/default/global.css")
	private Asset theGlobal;
	
	@Inject
	@Path("context:/skins/default/layout.css")
	private Asset theLayout;
	@Inject
	@Path("context:/skins/default/typography.css")
	private Asset theTypography;
	@Inject
	@Path("context:/skins/default/link.css")
	private Asset theLink;
	
	@Inject
	@Path("context:/skins/default/editor.css")
	private Asset theEditor;
	
	@Inject
	@Path("context:/images/favicon.ico")
	private Asset theFavicon;
	
	@Inject
	@Path("context:/js/common.js")
	private Asset theCommon;
	
	@Inject
	@Path("context:/images/head.swf")
	private Asset theHeadSwf;
	
	@Inject
	@Path("context:/skins/myAdd.css")
	private Asset theMyAdd;
	
	//inject Border Component IMGS url
	
	@Inject
	@Path("context:/images/icons/22.gif")
	private Asset icons22;
	
	@Inject
	@Path("context:/images/icons/10.gif")
	private Asset icons10;
	
	@Inject
	@Path("context:/images/css.png")
	private Asset css;
	
	@Inject
	@Path("context:/images/rss2.png")
	private Asset rss2;
	
	@Inject
	@Path("context:/images/atom.png")
	private Asset atom;
	
	@Inject
	@Path("context:/images/firefox.gif")
	private Asset firefox;
	
	@Inject
	@Path("context:/images/cc.png")
	private Asset cc;
	
	@Inject
	@Path("context:/images/xhtml.png")
	private Asset xhtml;
	
	@Component
	private BlogCalendar _bCalendar;
	
	@Inject
	private ComponentResources resources;
	
	private String curYear;
	private String curMonth;
	private String curDay;

	public Asset getTheHeadSwf() {
		return theHeadSwf;
	}

	public void setTheHeadSwf(Asset theHeadSwf) {
		this.theHeadSwf = theHeadSwf;
	}

	public Asset getTheCommon() {
		return theCommon;
	}

	public Asset getTheEditor() {
		return theEditor;
	}

	public Asset getTheFavicon() {
		return theFavicon;
	}

	public Asset getTheGlobal() {
		return theGlobal;
	}

	public Asset getTheLayout() {
		return theLayout;
	}

	public Asset getTheLink() {
		return theLink;
	}

	public Asset getTheTypography() {
		return theTypography;
	}

	public void setTheCommon(Asset theCommon) {
		this.theCommon = theCommon;
	}

	public void setTheEditor(Asset theEditor) {
		this.theEditor = theEditor;
	}

	public void setTheFavicon(Asset theFavicon) {
		this.theFavicon = theFavicon;
	}

	public void setTheGlobal(Asset theGlobal) {
		this.theGlobal = theGlobal;
	}

	public void setTheLayout(Asset theLayout) {
		this.theLayout = theLayout;
	}

	public void setTheLink(Asset theLink) {
		this.theLink = theLink;
	}

	public void setTheTypography(Asset theTypography) {
		this.theTypography = theTypography;
	}

	/**
	 * @return the theMyAdd
	 */
	public Asset getTheMyAdd() {
		return theMyAdd;
	}

	/**
	 * @param theMyAdd the theMyAdd to set
	 */
	public void setTheMyAdd(Asset theMyAdd) {
		this.theMyAdd = theMyAdd;
	}

	/**
	 * @return the icons10
	 */
	public Asset getIcons10() {
		return icons10;
	}

	/**
	 * @return the icons22
	 */
	public Asset getIcons22() {
		return icons22;
	}

	/**
	 * @param icons10 the icons10 to set
	 */
	public void setIcons10(Asset icons10) {
		this.icons10 = icons10;
	}

	/**
	 * @param icons22 the icons22 to set
	 */
	public void setIcons22(Asset icons22) {
		this.icons22 = icons22;
	}

	/**
	 * @return the atom
	 */
	public Asset getAtom() {
		return atom;
	}

	/**
	 * @return the cc
	 */
	public Asset getCc() {
		return cc;
	}

	/**
	 * @return the css
	 */
	public Asset getCss() {
		return css;
	}

	/**
	 * @return the firefox
	 */
	public Asset getFirefox() {
		return firefox;
	}

	/**
	 * @return the rss2
	 */
	public Asset getRss2() {
		return rss2;
	}

	/**
	 * @param atom the atom to set
	 */
	public void setAtom(Asset atom) {
		this.atom = atom;
	}

	/**
	 * @param cc the cc to set
	 */
	public void setCc(Asset cc) {
		this.cc = cc;
	}

	/**
	 * @param css the css to set
	 */
	public void setCss(Asset css) {
		this.css = css;
	}

	/**
	 * @param firefox the firefox to set
	 */
	public void setFirefox(Asset firefox) {
		this.firefox = firefox;
	}

	/**
	 * @param rss2 the rss2 to set
	 */
	public void setRss2(Asset rss2) {
		this.rss2 = rss2;
	}

	/**
	 * @return the xhtml
	 */
	public Asset getXhtml() {
		return xhtml;
	}

	/**
	 * @param xhtml the xhtml to set
	 */
	public void setXhtml(Asset xhtml) {
		this.xhtml = xhtml;
	}




	/**
	 * @return the curDay
	 */
	public String getCurDay() {
		return curDay;
	}




	/**
	 * @return the curMonth
	 */
	public String getCurMonth() {
		return curMonth;
	}




	/**
	 * @return the curYear
	 */
	public String getCurYear() {
		return curYear;
	}




	/**
	 * @param curDay the curDay to set
	 */
	public void setCurDay(String curDay) {
		this.curDay = curDay;
	}




	/**
	 * @param curMonth the curMonth to set
	 */
	public void setCurMonth(String curMonth) {
		this.curMonth = curMonth;
	}




	/**
	 * @param curYear the curYear to set
	 */
	public void setCurYear(String curYear) {
		this.curYear = curYear;
	}

	
	
	
}
